sectional formula derivation